package com.hospital.payment.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.common.pojo.TPaymentMethod;
import com.hospital.payment.module.mapper.TPaymentMethodMapper;
import com.hospital.payment.module.service.TPaymentMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TPaymentMethodServiceImpl extends ServiceImpl<TPaymentMethodMapper, TPaymentMethod> implements TPaymentMethodService{

    @Autowired
    private TPaymentMethodMapper tPaymentMethodMapper;
    @Override
    public List<TPaymentMethod> queryAll() {
        return tPaymentMethodMapper.selectList( null);
    }
}
